/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						 combat_start_position.cpp

	$Header: /heroes4/combat_start_position.cpp $

	$NoKeywords: $

 ************************************************************************/

#include "precompiled.h"
#include "combat_start_position.h"

extern t_map_point_2d const k_combat_start_position[k_formation_type_count][2][t_creature_array::k_size] =
{
	{ // loose formation
		{
			t_map_point_2d( 76, 51 ), t_map_point_2d( 85, 55 ), 
			t_map_point_2d( 76, 60 ), t_map_point_2d( 85, 64 ), 
			t_map_point_2d( 76, 69 ), t_map_point_2d( 85, 73 ),
			t_map_point_2d( 76, 78 ), 
			
		},
		{
			t_map_point_2d( 33, 32 ), t_map_point_2d( 24, 37 ),
			t_map_point_2d( 33, 41 ), t_map_point_2d( 24, 46 ), 
			t_map_point_2d( 33, 50 ), t_map_point_2d( 24, 55 ),
			t_map_point_2d( 33, 59 ), 
		}
	},
	{ // tight formation
		{
			t_map_point_2d( 77, 54 ), t_map_point_2d( 84, 57 ), 
			t_map_point_2d( 77, 61 ), t_map_point_2d( 84, 64 ), 
			t_map_point_2d( 77, 68 ), t_map_point_2d( 84, 71 ),
			t_map_point_2d( 77, 75 ), 
			
		},
		{
			t_map_point_2d( 32, 35 ), t_map_point_2d( 25, 39 ),
			t_map_point_2d( 32, 42 ), t_map_point_2d( 25, 46 ), 
			t_map_point_2d( 32, 49 ), t_map_point_2d( 25, 53 ),
			t_map_point_2d( 32, 56 ), 
		}
	},
	{ // square formation - not yet correct
		{
			t_map_point_2d( 77, 57 ), t_map_point_2d( 84, 57 ), 
			t_map_point_2d( 77, 64 ), t_map_point_2d( 84, 64 ), 
			t_map_point_2d( 77, 71 ), t_map_point_2d( 84, 71 ),
			t_map_point_2d( 91, 64 ), 
			
		},
		{
			t_map_point_2d( 32, 39 ), t_map_point_2d( 25, 39 ),
			t_map_point_2d( 32, 46 ), t_map_point_2d( 25, 46 ), 
			t_map_point_2d( 32, 53 ), t_map_point_2d( 25, 53 ),
			t_map_point_2d( 18, 46 ), 
		}
	},
	{ // fort formation
		{
			t_map_point_2d( 76, 51 ), t_map_point_2d( 85, 55 ), 
			t_map_point_2d( 76, 60 ), t_map_point_2d( 85, 64 ), 
			t_map_point_2d( 76, 69 ), t_map_point_2d( 85, 73 ),
			t_map_point_2d( 76, 78 ), 
			
		},
		{
			t_map_point_2d( 43, 23 ), t_map_point_2d( 43, 31 ),
			t_map_point_2d( 43, 40 ), t_map_point_2d( 43, 49 ), 
			t_map_point_2d( 43, 57 ), t_map_point_2d( 43, 67 ),
			t_map_point_2d( 43, 74 ), 
		}
	},
	{ // castle formation
		{
			t_map_point_2d( 76, 51 ), t_map_point_2d( 85, 55 ), 
			t_map_point_2d( 76, 60 ), t_map_point_2d( 85, 64 ), 
			t_map_point_2d( 76, 69 ), t_map_point_2d( 85, 73 ),
			t_map_point_2d( 76, 78 ), 
			
		},
		{
			t_map_point_2d( 43, 23 ), t_map_point_2d( 36, 38 ),
			t_map_point_2d( 43, 40 ), t_map_point_2d( 25, 50 ), 
			t_map_point_2d( 43, 57 ), t_map_point_2d( 36, 61 ),
			t_map_point_2d( 43, 74 ), 
		}
	},
	{ // bridge formation
		{
			t_map_point_2d( 71, 41 ), t_map_point_2d( 78, 48 ),
			t_map_point_2d( 71, 48 ), t_map_point_2d( 78, 55 ),
			t_map_point_2d( 71, 55 ), t_map_point_2d( 78, 62 ),
			t_map_point_2d( 71, 62 )
		},
		{
			t_map_point_2d( 31, 62 ), t_map_point_2d( 24, 55 ),
			t_map_point_2d( 31, 55 ), t_map_point_2d( 24, 48 ),
			t_map_point_2d( 31, 48 ), t_map_point_2d( 24, 41 ),
			t_map_point_2d( 31, 41 )
		}
	},
};
